﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Barbar.UrlGuard.BL {
  [Serializable]
  public class LanguageFileException : Exception {
    private string m_FilePath;

    public string FilePath {
      get { return m_FilePath; }
      set { m_FilePath = value; }
    }

    public LanguageFileException() {
    }

    public LanguageFileException(string message)
      : base(message) {
    }

    public LanguageFileException(string message, Exception innerException)
      : base(message, innerException) {
    }

    public LanguageFileException(string message, string filePath, Exception innerException)
      : base(message, innerException) {
      m_FilePath = filePath;
    }

    protected LanguageFileException(SerializationInfo info, StreamingContext context)
      : base(info, context) {
    }
  }
}
